package com.example.findu;

import com.findu.control.Public_title_dynamic;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.ImageView;

/**
 * 
 * @ClassName: Home_More_homeManage_genealogyShow
 * @Description: TODO(设置新建家谱页)
 * @author hgf
 * @date 2015-11-5 下午5:25:43
 * 
 */
public class Home_More_homeManage_genealogyShow extends Activity {

	// 标题控制
	private Public_title_dynamic public_title;
	// 声明title布局
	private View include_view;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.activity_home__more_home_manage_genealogy_show);
		
		init_title();
	}
	
	/**
	 * 初始化title
	 */
	private void init_title() {
		// 初始化title
		include_view = findViewById(R.id.Home_More_homeManage_genealogyShow);
		public_title = new Public_title_dynamic(include_view); // 新建工具类设置布局控件

		// title详细设置
		public_title.setTextLeft("家谱管理");
		public_title.setTextView("家谱详情");
		public_title.setTextRight("                  ");
		
		
		ImageView image_left = (ImageView) include_view.findViewById(R.id.public_title_dynamic__liftImage);
		image_left.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				finish();
			}
		});

	}

}
